GetLast Method (Messages Collection)
The GetLast
method returns the last object in the collection. Returns Nothing if no
last object exists.
Syntax
Set objMessage
= objMsgColl.GetLast( [filter] )
Parameters
objMessage
On successful
return, represents the last Message object in the collection.
objMsgColl
Required. The
Messages collection object.
filter
Optional.
String. Specifies the message class of the object, such as the default value,
IPM.Note. Corresponds to the Type property of the Message object.
Remarks
The Get methods
are similar to the Find and Move methods that are used with
Microsoft Access databases. The Get methods take a different name from
these methods because they use a different syntax.
See Also